#include <stdio.h>
#include <iostream>
#include <string.h>
using namespace std;
class Student
{
public:
	int STD;
	string Name;
	Student();
	Student(int sid, string name);
	~Student();
};
Student::Student()
	:STD(0), Name("wangxiaoming")
{
	;
}
Student::Student(int sid, string name)
{
	STD = sid;
	Name = name;
}
Student::~Student()
{
	cout << STD << " " << Name <<' '<<"exit";
	if (STD != 1)
		cout << endl;
}


int main()

{

	int sid;

	char name[30];

	cin >> sid >> name;

	Student s1(sid, name);

	cin >> sid >> name;

	Student s2(sid, name);

	cin >> sid >> name;

	Student s3(sid, name);

	Student s;

	return 0;

}

